package ch03;

class OperatorEx13 {
	public static void main(String[] args) {
		char c1 = 'a'; 
		char c2 = c1;
		char c3 = ' '; 

		int i = c1 + 1; 

		c3 = (char) (c1 + 1);
		c2++; // c2=c2+1;:error:because promotion.
		c2++;

		System.out.println(i); // 98
		System.out.println(c2); // c
		System.out.println(c3); // b
	}
}